﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditFunction.aspx.cs" Inherits="BEELab.EditFunction" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" href='./Content/css/style.css' />
    <link rel="stylesheet" type="text/css" href='./Content/css/source/jquery.fancybox.css' media="screen" />
    <script src='<%: ResolveClientUrl("~/Scripts/jquery-1.10.2.min.js")%>'></script>
    <script src='<%: ResolveClientUrl("~/Content/css/source/jquery.fancybox.js?v=2.1.5")%>'></script>
</head>
<body style="width: 640px; padding: 24px; border: 1px solid #ddd;">
    <asp:literal id="literal1" runat="server"></asp:literal>
    <form id="form1" runat="server">
    <div id="Div1" class="clearfix">
        <asp:Label ID="lblEdit" runat="server">
            <h2 class="headline">Edit Function Information</h2>
        </asp:Label>
        <div id="edit-function">
            <div class="sign-form">
                <div class="input-hold">
                    <asp:Label ID="Label1" CssClass="sign-label" AssociatedControlID="txtName" runat="server">Name</asp:Label>
                    <asp:TextBox CssClass="sign-input" ID="txtName" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvtxtName" CssClass="field-validation-error" ControlToValidate="txtName" ValidationGroup="AddExperimentGroup" runat="server" ErrorMessage="* Name is required." Text="*"></asp:RequiredFieldValidator>
                </div>
                <div class="input-hold">
                    <asp:Label ID="Label2" CssClass="sign-label" AssociatedControlID="txtDescription" runat="server">Description</asp:Label>
                    <asp:TextBox CssClass="text-area" ID="txtDescription" runat="server" TextMode="MultiLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvtxtDescription" Display="Dynamic" ControlToValidate="txtDescription" ValidationGroup="AddExperimentGroup" runat="server" ErrorMessage="* Description is required" Text="*"></asp:RequiredFieldValidator>
                </div>

                <div class="input-hold">
                    <asp:Button CssClass="sign-submit" ValidationGroup="AddExperimentGroup" runat="server" ID="btnSubmit" Text="Submit" OnClick="btnSubmit_Click" />
                </div>
            </div>
            <div class="error">
                <asp:ValidationSummary runat="server" ID="vsNewExperiment" ValidationGroup="AddExperimentGroup" CssClass="field-validation-error" />
                <p>&nbsp;</p>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
